package com.nus.fellowmark.modules.rbac.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author Ruoyi Chen
 * @email chenruoyisz@gmail.com
 * @create 2023/2/11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "SysMenu", description = "Menu/Permission")
public class SysMenuVO implements Serializable {

    private static final long serialVersionUID = 8464086740447019621L;

    private Integer id;

    @ApiModelProperty(value = "parent ID")
    private Integer pid;

    @ApiModelProperty(value = "content")
    private String title;

    @ApiModelProperty(value = "url")
    private String url;

    @ApiModelProperty(value = "menu icon")
    private String icon;

    @ApiModelProperty(value = "Authorization identifier: for background control class definition. Example:user:list")
    private String code;

    @ApiModelProperty(value = "Permission Type: 1-Catalog | 2-Menu-Main Menu | 3-Button | 5-Left Menu")
    private Integer type;

    @ApiModelProperty(value = "Menu Sort The bigger the value, the higher the front")
    private Integer ord;

    @ApiModelProperty(value = "Status: 0-normal | 1-banned | 2-normal with no bans")
    private Integer status;

}

